home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / windows / xmdmdlp.zip / MAKEFILE < prev    next >
Text File  |  1992-05-15  |  844b  |  45 lines

  1. #  This allows use with nmake.exe
  2. all: xmodem.exe
  3.  
  4. #  Use /A switch to rebuild all ( ie. nmake /a viewer)
  5.  
  6. # Define the default assemble command.
  7. ASM = masm -Mx
  8. CC = cl -c -Asnw -Gsw -Oad -W3 -Zpe -Zi
  9. LINK = link /NOD/NOE/CO
  10.  
  11.  
  12. # For Run Time change the following:
  13. #ASM = masm
  14. #CC = cl -c -AS -Gsw -Oat -W3 -Zpe
  15. #LINK = link /NOD/NOE
  16.  
  17.  
  18. #   Define the default inference rules
  19.  
  20. .c.obj:
  21.    $(CC) $* $*.c
  22.  
  23. .asm.obj:
  24.    $(ASM) $*.asm;
  25.  
  26.  
  27. #   Define the dependencies
  28.  
  29.  
  30. xmodem.res: xmodem.rc
  31.     rc -r xmodem.rc
  32.  
  33. OBJ = xmodem.obj libentry.obj fdate.obj
  34.  
  35. xmodem.obj: xmodem.c xmodem.h xmodem.def
  36.  
  37. libentry.obj: libentry.asm
  38.  
  39. fdate.obj: fdate.asm
  40.  
  41. xmodem.exe: $(OBJ) xmodem.rc xmodem.def
  42.       $(LINK) $(OBJ),,NUL,/NOE /NOD /CO libw sdllcew, xmodem.def
  43.       rc -30 xmodem xmodem.exe
  44.       copy xmodem.exe d:\pw\xmodem.dlp
  45.